package com.ojoin.trade.supplyloan_core.web.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.ojoin.trade.common.utils.CommonUtils;
import com.ojoin.trade.common.utils.json.JSONUtils;

public class CatchDataResultMessage implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private List<TbSlSupplyPayment> payment= new ArrayList<TbSlSupplyPayment>();
    private List<TbSlSupplyPayment> settlement = new ArrayList<TbSlSupplyPayment>(); 
    private List<TbSlSupplyPayment> settlementcheck = new ArrayList<TbSlSupplyPayment>(); 
    private List<TbSlSupplyPayment> financing = new ArrayList<TbSlSupplyPayment>(); 
    
    
    
    
    private List<TbSlSupplyInventory> instore= new ArrayList<TbSlSupplyInventory>();
    private List<TbSlSupplyInventory> outstore= new ArrayList<TbSlSupplyInventory>();;
    
    private List<TbSlSupplyInventory> inventoryUpdate= new ArrayList<TbSlSupplyInventory>();;
    private List<TbSlSupplyPayment> payupdate= new ArrayList<TbSlSupplyPayment>();
     
    
    private TbSlStattaskRunresult runResult;
   
    private TbSlPlatformUser platformUser;
    
    
    
	public List<TbSlSupplyInventory> getInventoryUpdate() {
		return inventoryUpdate;
	}
	public void setInventoryUpdate(List<TbSlSupplyInventory> inventoryUpdate) {
		this.inventoryUpdate = inventoryUpdate;
	}
	public List<TbSlSupplyPayment> getPayupdate() {
		return payupdate;
	}
	public void setPayupdate(List<TbSlSupplyPayment> payupdate) {
		this.payupdate = payupdate;
	}
	public TbSlPlatformUser getPlatformUser() {
		return platformUser;
	}
	public void setPlatformUser(TbSlPlatformUser platformUser) {
		this.platformUser = platformUser;
	}
	public List<TbSlSupplyPayment> getPayment() {
		return payment;
	}
	public void setPayment(List<TbSlSupplyPayment> payment) {
		this.payment = payment;
	}
	public List<TbSlSupplyPayment> getSettlement() {
		return settlement;
	}
	public void setSettlement(List<TbSlSupplyPayment> settlement) {
		this.settlement = settlement;
	}
	public List<TbSlSupplyInventory> getInstore() {
		return instore;
	}
	public void setInstore(List<TbSlSupplyInventory> instore) {
		this.instore = instore;
	}
	public List<TbSlSupplyInventory> getOutstore() {
		return outstore;
	}
	public void setOutstore(List<TbSlSupplyInventory> outstore) {
		this.outstore = outstore;
	}
	public TbSlStattaskRunresult getRunResult() {
		return runResult;
	}
	public void setRunResult(TbSlStattaskRunresult runResult) {
		this.runResult = runResult;
	}
	public List<TbSlSupplyPayment> getSettlementcheck() {
		return settlementcheck;
	}
	public void setSettlementcheck(List<TbSlSupplyPayment> settlementcheck) {
		this.settlementcheck = settlementcheck;
	}
	
	public List<TbSlSupplyPayment> getFinancing() {
		return financing;
	}
	public void setFinancing(List<TbSlSupplyPayment> financing) {
		this.financing = financing;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("RunResult--> ["+JSONUtils.toJSONString(this.getRunResult())+"]");
		sb.append("payment--> ["+(CommonUtils.isEmpty(this.getSettlement())?"":this.getSettlement().size())+"]");
		sb.append("payment_update--> ["+(CommonUtils.isEmpty(this.getPayupdate())?"":this.getPayupdate().size())+"]");
		sb.append("inventory--> ["+(CommonUtils.isEmpty(this.getInstore())?"":this.getInstore().size())+"]");
		sb.append("inventory_update--> ["+(CommonUtils.isEmpty(this.getInventoryUpdate())?"":this.getInventoryUpdate().size())+"]");

		return sb.toString();
	}
    
}
